package TwoArray;

/**
 * @author feng
 * @Date 2021/7/22 8:55
 */

//启动3个线程打印递增的数字, 线程1先打印1,2,3,4,5, 然后是线程2打印6,7,8,9,10, 然后是线程3打印11,12,13,14,15.
// 接着再由线程1打印16,17,18,19,20....以此类推, 直到打印到75.
public class Thread02 implements Runnable {

    @Override
    public void run() {

    }
}

class B {
    public static void main(String[] args) {
        Thread02 thread02 = new Thread02();
        Thread t1 = new Thread(thread02, "t1");
        Thread t2 = new Thread(thread02, "t2");
        Thread t3 = new Thread(thread02, "t3");
        t1.start();
        t2.start();
        t3.start();


    }

}